//
//  LCYAVManager.h
//  EPA
//
//  Created by lanou3g on 16/4/21.
//  Copyright © 2016年 liu. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>

@interface LCYAVManager : NSObject
/// 播放器
@property(nonatomic,strong,readonly) AVPlayer *player;
/// 播放列表
@property (nonatomic,strong) NSMutableArray *itemArray;
/// 当前下标
@property (nonatomic,assign) NSInteger currentIndex;


// 单例
+ (instancetype)shareManager;
/// 播放
- (void)play;
/// 暂停
- (void)pause;
/// 跳转进度
- (void)seekToTime:(CMTime)time;
/// 上一曲
- (void)previous;
/// 下一曲
- (void)next;

@end
